package cn.bqjr.eily.samples.service.base;

import cn.bqjr.eily.samples.entity.po.Menu;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author shan.he@bqjr.cn
 * @since 2017-05-11
 */
public interface IMenuService extends IService<Menu> {
    List<Menu> selectRootMenuByRole(Long menuId, List<Long> roleIdList, boolean includeBtn);

    List<Menu> fillMenuTree(List<Menu> menuList, List<Long> roleIdList, boolean includeBtn);

    List<Long> selectMenuIdsByRole(Long roleId);
}
